function hq() {
    $.ajax({
        url: '/my/user/userinfo',
        success: function(res) {
            console.log(res)
            let form = layui.form;
            form.val('aaa', res.data)
        }

    })
}
hq()
$('.ann').on('click', function(e) {
    e.preventDefault()
    let xg = $('.layui-form').serialize()


    $.ajax({
        type: 'POST',
        url: '/my/user/userinfo',
        data: xg,
        success: function(res) {
            if (res.status === 0) {
                layer.msg(res.message);
                window.parent.oooo();
            }
        }
    })
})
$('.layui-btn-primary').on('click', function() {
    hq()
})